package com.sxm.yiwei.constant;

/**
 * Created by Administrator on 2017/10/16.
 */

public class Constant {
    public static final int MY_PERMISSIONS_REQUEST_CALL_CAMERA=1;
    public static final String IMAGE_PATH="/sdcard/goodsPhoto/";
    /*
    * 订单，服务
    * */
    public static final String SERVICE="0";
    public static final String ORDER="1";
    /*
    * 拼车规则标识
    * */
    public static final int PINCHE_RULE=0;
    public static final int PINCHE_COUNT_RULE=1;
    public static final int REFUND_CHANGE_RULE=2;
    /*
    * 支付方式
    * */
    public static final int ALIPAY=1;
    public static final int WEPAY=2;
    public static final int RESTPAY=3;
    /*
    *网络请求触发条件
    * */
    public static final int DEFAULT=0;//默认刚进页面请求
    public static final int REFRESH=1;//下拉刷新
    public static final int LOAD_MORE=2;//加载更多
    /*
    * 布尔状态
    * */
    public static final int YES=1;
    public static final int NO=0;
    /*
    * 赔付
    * */
    public static final int ME=0;
    public static final int NOT_ME=1;
    /*
    * 行程完结状态
    * */
    public static final int HOST_FINISHED_PASSENGER_NO=0;
    public static final int PASSENGER_FINISHED_HOST_NO=1;

    /*
    * 形成订单的方式
    * */
    public static final int RELEASE=0;
    public static final int BUY=1;
    /*
    * 身份状态 0 乘客 1 车主
    * */
    public static final int PASSENGER=0;
    public static final int HOST=1;
    /*
    * 拼车类型,服务器默认为0
    * */
    public static final int LONG=1;
    public static final int CITY=3;
    public static final int TRAVEL=2;
    public static final int LONG_HURRY=4;
    /*
    * 车类型
    * */
    public static final int PRIVATE_CAR=1;
    public static final int BUS=2;

    /*
    * 支付类型标识
    * */
    public static final int PASSENGER_PUBLISH_FLAG=15;
    public static final int HOST_PUBLISH_FLAG=17;
    public static final int HOST_ROB_FLAG=18;

    /*
    * 支付成功跳转页面标识
    * */
    public static final int RELEASE_OK=1;//发布成功
    public static final int REFUND_OK=2;//退票成功
    public static final int CHANGE_OK=3;//改签成功
    public static final int PASSENGER_ROB_OK=4;//购票成功
    public static final int HOST_ROB_OK=5;//抢单成功

    /*
    * 权限状态码
    * */
    public static final int COMMON_CODE=0;
    public static final int NAME_VERIFYING=1067;
    public static final int NAME_NOT_VERIFY=1068;
    public static final int NAME_VERIFY_FALSE=1069;
    public static final int CAR_VERIFYING=1070;
    public static final int CAR_VERIFY_FALSE=1071;
    public static final int CAR_NOT_VERIFY=1066;
    /*
    * 图片类别标识
    * */
    public static final int DRIVE_UP=100;
    public static final int DRIVE_DOWN=200;
    public static final int GO_UP=300;
    public static final int GO_DOWN=400;

    /*
    * 跳转城市选择列表标识
    * */
    public static final int REQUEST_CODE_CITY=1;
    public static final int RESULT_CODE_CITY=2;
    public static final int REQUEST_CODE_START_PLACE=1;
    public static final int REQUEST_CODE_END_PLACE=2;

    public static final int RESULT_CODE_PLACE=3;
    /*
    * 支付标识
    * */
    public static final String PASSENGER_PUBLISH_PAY="passenger_publish_pay";//乘客发布支付（没有区分支付宝和余额）
    public static final String HOST_PUBLISH_PAY="host_publish_pay";//车主发布支付（没有区分支付宝和余额）
    public static final String HOST_ROB_PAY="host_rob_pay";//车主抢单支付（没有区分支付宝和余额）
    public static final String PASSENGER_ROB_PAY="passenger_rob_pay";//乘客抢票支付（没有区分支付宝和余额）
    public static final String CHANGE_PAY="change_pay";//改签支付
    /*
    * 网络请求标识
    * */
    public static final String PASSENGER_PUBLISH="passengercommitorder";
    public static final String HOST_PUBLISH="hostcommitorder";
    public static final String PASSENGER_PUBLISH_EXACTLY="passenger_publish_exactly";
    public static final String HOST_PUBLISH_EXACTLY="host_publish_exactly";
    public static final String PASSENGER_PUBLISH_NOW="passenger_publish_now";
    public static final String HOST_PUBLISH_NOW_NEED_LOSS="host_publish_now";
    public static final String HOST_PUBLISH_NOW_NOT_NEED_LOSS="host_publish_now_not_need_loss";
    public static final String SEARCH_PASSENGER_SURVICE="search_passenger_survice";
    public static final String HOST_ROB_ORDER ="host_rob_order";
    public static final String CHANGE_SEARCH_ROUTE="change_search_route";
    public static final String CHANGE_FORM_ORDER="change_form_order";
    public static final String START_SERVICE="start_service";
    public static final String START_SELL="start_sell";
    public static final String END_SELL="end_sell";
    public static final String CANCEL_ORDER="cancel_order";
    public static final String CANCEL_APPEAL="cancel_appeal";
    public static final String ROUTE_FINISHED="route_finished";
    public static final String ALREADY_IN_CAR="already_in_car";
    public static final String SEARCH_HOST_SURVICE="search_host_survice";
    public static final String COMPLETE_CHANGE="complete_change";
    public static final String REFUND_TICKET="refund_ticket";
    public static final String EXCEPTION_RESULT="exception_result";
    public static final String ORDER_DETAIL="order_detail";
    public static final String SERVICE_DETAIL="service_detail";


    /*
    * 乘客订单状态
    * -1:取消订单；0:待付款；1:待服务；2:服务中；3：待完结；4:已完结；5:爽约单；6:异常订单
    * */
    public static final int WAIT_PAY=0;
    public static final int WAIT_TAKE=1;
    public static final int WAIT_SURVICE=2;
    public static final int IN_SURVICE=3;
    public static final int WAIT_FINISH=4;
    public static final int FINISHED=5;
    public static final int LOSS=6;
    public static final int EXCEPTION=7;
    /*
    * 条目布局标识
    * */
    //乘客—待付款—长途
    public static final int PASSENGER_WAIT_PAY_LONG_NOT_RELEASE=0;
    public static final int PASSENGER_WAIT_PAY_LONG_NOT_BUY=1;
    public static final int PASSENGER_WAIT_PAY_LONG_TIME_OUT=2;
    //乘客—待付款—长途急件
    public static final int PASSENGER_WAIT_PAY_LONG_HURRY_NOT_RELEASE=3;
    public static final int PASSENGER_WAIT_PAY_LONG_HURRY_NOT_BUY=4;
    public static final int PASSENGER_WAIT_PAY_LONG_HURRY_TIMEOUT=5;

    //乘客—待接单—长途
    public static final int PASSENGER_WAIT_TAKE_LONG_WAIT_HOST=6;
    public static final int PASSENGER_WAIT_TAKE_LONG_TIMEOUT=7;
    //乘客—待接单—长途急件

    //乘客—待服务—长途
    public static final int PASSENGER_WAIT_SURVICE_LONG=8;

    //乘客—服务中—长途
    public static final int PASSENGER_IN_SURVICE_LONG=9;

    //乘客—待完结—长途
    public static final int PASSENGER_WAIT_FINISH_LONG=10;

    //乘客—已完结—长途
    public static final int PASSENGER_FINISHED_LONG=11;

    //乘客—爽约单—长途
    public static final int PASSENGER_LOSS_LONG=12;

    //乘客—订单异常—长途
    public static final int PASSENGER_EXCEPTION_LONG=13;

    /*
    * 长途急件
    * */
    public static final int GOODS_IN_CAR=0;
    public static final int GOODS_ARRIVE=1;

    public static final int WAIT_ME_FINISH=0;
    public static final int WAIT_OTHER_FINISH=1;

   /*
   * 申诉
   * */
   public static final String PASSENGER_APPEAL="passenger_appeal";
    public static final String HOST_APPEAL="host_appeal";

    /*
    * 订单详情result_code
    * */
    public static final int RESULT_CANCEL_ORDER=0;
    public static final int RELULT_IN_CAR=1;
    public static final int RESULT_ROUTE_FINISH_IN_SERVICE=2;
    public static final int RESULT_ROUTE_FINISH_WAIT_FINISH=6;
    public static final int RESULT_START_SERVICE=3;
    public static final int RESULT_START_SELL=4;
    public static final int RESULT_END_SELL=5;
    public static final int RESULT_CANCEL_APPEAL=7;
    /*
    * 订单列表requestCode
    * */
    public static final int REQUEST_CODE=0;


}
